#include "eveCommon.h"
#include "eveEngine.h"
#include "evefont.h"


uint8 engine::GetFont()
{
	return eve::FontManager::GetSingleton()->GetFont();
}
uint8 engine::SetFont(uint8 font)
{
	return eve::FontManager::GetSingleton()->SetFont(font);
}
uint16 engine::GetFontWidth(uint8 font)
{
	const eve::stFontCfg* cfg = eve::FontManager::GetSingleton()->GetFontCfg(font);
	if( cfg )
	{
		return cfg->m_CharWidth;
	}
	return 0;
}
uint16 engine::GetFontHeight(uint8 font)
{
	const eve::stFontCfg* cfg = eve::FontManager::GetSingleton()->GetFontCfg(font);
	if( cfg )
	{
		return cfg->m_CharHeight;
	}
	return 0;
}

